package domian;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Chat {
    private Integer c_id;//聊天id
    private Integer send_id;//发送者id
    private Integer receipt_id;//接收者id
    private String content;//内容
    private String send_time;//发送时间

    public Chat(Integer send_id, Integer receipt_id, String content, String send_time) {
        this.send_id = send_id;
        this.receipt_id = receipt_id;
        this.content = content;
        this.send_time = send_time;
    }
}
